package com.telecom.restaurant.model;

import java.io.Serializable;
import java.util.Date;

public class OrderPO implements Serializable {
    private Long id;

    private Long restaurantId;

    private Integer type;

    private Long customerId;

    private String customerMobile;

    private Integer dayNo;

    private Date orderTime;

    private Date pickDate;

    private String pickCode;

    private Date actualPickTime;

    private Integer originMoney;

    private Integer couponMoney;

    private Integer payMoney;

    private Date payTime;

    private Integer status;

    private String foodSnapshot; // 用来展示的快照

    private String cartSnapshot; //保存购物车中的商品，主要当订单取消时，用来退回库存

    private Date ctime;

    private Date utime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRestaurantId() {
        return restaurantId;
    }

    public void setRestaurantId(Long restaurantId) {
        this.restaurantId = restaurantId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerMobile() {
        return customerMobile;
    }

    public void setCustomerMobile(String customerMobile) {
        this.customerMobile = customerMobile == null ? null : customerMobile.trim();
    }

    public Integer getDayNo() {
        return dayNo;
    }

    public void setDayNo(Integer dayNo) {
        this.dayNo = dayNo;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getPickDate() {
        return pickDate;
    }

    public void setPickDate(Date pickDate) {
        this.pickDate = pickDate;
    }

    public String getPickCode() {
        return pickCode;
    }

    public void setPickCode(String pickCode) {
        this.pickCode = pickCode == null ? null : pickCode.trim();
    }

    public Date getActualPickTime() {
        return actualPickTime;
    }

    public void setActualPickTime(Date actualPickTime) {
        this.actualPickTime = actualPickTime;
    }

    public Integer getOriginMoney() {
        return originMoney;
    }

    public void setOriginMoney(Integer originMoney) {
        this.originMoney = originMoney;
    }

    public Integer getCouponMoney() {
        return couponMoney;
    }

    public void setCouponMoney(Integer couponMoney) {
        this.couponMoney = couponMoney;
    }

    public Integer getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Integer payMoney) {
        this.payMoney = payMoney;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public String getFoodSnapshot() {
        return foodSnapshot;
    }

    public void setFoodSnapshot(String foodSnapshot) {
        this.foodSnapshot = foodSnapshot;
    }

    public String getCartSnapshot() {
        return cartSnapshot;
    }

    public void setCartSnapshot(String cartSnapshot) {
        this.cartSnapshot = cartSnapshot;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}